<?php
	require_once(dirname(__FILE__)."/config.php");
    session_set_cookie_params(0, WF_COOKIE_PATH);
	// include product's authentication
	$product_auth_file = WP_HOME."/inc/product_auth.php";
	if( file_exists($product_auth_file) ) {
		require_once($product_auth_file);
	}

	// WidgetFramework session control
	if( !isset($_SESSION) ) {
		session_start();
	}